package minijava.ArvoreIntermediaria;

public class CALL extends Expr
{
  public Expr func;
  public ExpList args;

  public CALL(Expr f, ExpList a) {func=f; args=a;}

  @Override
  public ExpList kids()
  {
      return new ExpList(func,args);
  }

  @Override
  public Expr build(ExpList kids)
  {
      return new CALL(kids.head,kids.tail);
  }
  
}

